package java69.work721;

public class Seafoodpizza extends Pizza {
    private String dosing;

    public Seafoodpizza() {
    }

    public Seafoodpizza(int size, String name, double price, String dosing) {
        super(size, name, price);
        this.dosing = dosing;
    }

    public String getDosing() {
        return dosing;
    }

    public void setDosing(String dosing) {
        this.dosing = dosing;
    }

    @Override
    public void pizza() {
        System.out.println("名称："+this.getName()+"\n价格："+this.getPrice()+"\n大小："+this.getSize()+"\n配料："+this.dosing);
    }
}
